package com.sdkx.app.model;

/**
 * 标记类
 */
public class Mark extends AirpointBase
{
    private int type;//类别
    private int isShow = -1;//是否显示
    private String icon;//图标名称
    private String details; //用户备注内容
    private int strokeColor;//线颜色
    private int fillColor;//填充颜色

    //TODO：修改或添加其他标记类型值
    public static final int TYPE_MARK=0;
    public static final int TYPE_REGION=1;
    public static final int TYPE_WARING=2;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setDetails(String detail){
        details = detail;
    }

    public String  getDetails(){
        return details;
    }

    public boolean getIsShow() {
        return isShow == 0;
    }

    public void setIsShow(boolean show) {
        isShow = (show ?  0 : 1);
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getStrokeColor() {
        return strokeColor;
    }

    public void setStrokeColor(int strokeColor) {
        this.strokeColor = strokeColor;
    }

    public int getFillColor() {
        return fillColor;
    }

    public void setFillColor(int fillColor) {
        this.fillColor = fillColor;
    }
}
